<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>URL</title>
  </head>
  <body>
    <!-- 绝对路径 -->
    <a href="https://www.baidu.com">百度</a>
    <a href="//jd.com">京东</a>
    <!-- 会与地址栏上的地址拼接后再发送请求 -->
    <a href="/search">搜索</a>
    <!-- http://127.0.0.1:5500/search -->

    <hr />
    <!-- 相对路径 -->
    <a href="./css/app.css">访问css</a>
    <a href="js/app.js">访问js</a>
    <a href="../img/logo.png">访问图片</a>
    <a href="../../../img/logo.png">访问图片</a>
  </body>
</html>
